﻿using Pay.Data;
using Pay.DTO;
namespace Pay.IService {
    public interface ITokenStatisticsService {
        /// <summary>
        /// 查询用户统计信息(不存在则新增)
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        token_statistics_dto GetOrCreate(long userId);
        /// <summary>
        /// 用户审核业务
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        TokenStatistics CreateStatistics(long userId);
    }
}
